
<!--created by SBDEAM2004Creator Version0.5-->
<%@ include file="/publics/grid_head.inc"%>
<%@ include file="/publics/grid_datahead.inc"%>

<!--data-->
<div id="gridData" class="gridDiv">
<form action="<%=CONTEXTPATH%>/commonAction.do" method="post" name="frmAction">
<sbdhtc:datagrid id="datagrid" operationType="<%=operationType%>">
<table id="tblgrid" class="gridTbl">
<thead>
<tr>
	<td width="20" class="gridHead">No.</td>
<td <%=isNowrap%> class="gridHead" width=75 id="stock_surrogate_in.auditing"><a href="#" id="sort_stock_surrogate_in.auditing" onclick="return f_setSort('stock_surrogate_in.auditing');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.auditing"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_surrogate_in.surrogate_code"><a href="#" id="sort_stock_surrogate_in.surrogate_code" onclick="return f_setSort('stock_surrogate_in.surrogate_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.surrogate_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_code"><a href="#" id="sort_stock_surrogate_in.material_code" onclick="return f_setSort('stock_surrogate_in.material_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_code"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.material_name"><a href="#" id="sort_stock_surrogate_in.material_name" onclick="return f_setSort('stock_surrogate_in.material_name');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_style"><a href="#" id="sort_stock_surrogate_in.material_style" onclick="return f_setSort('stock_surrogate_in.material_style');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_style"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.material_standard"><a href="#" id="sort_stock_surrogate_in.material_standard" onclick="return f_setSort('stock_surrogate_in.material_standard');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_standard"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_material"><a href="#" id="sort_stock_surrogate_in.material_material" onclick="return f_setSort('stock_surrogate_in.material_material');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_material"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_weight"><a href="#" id="sort_stock_surrogate_in.material_weight" onclick="return f_setSort('stock_surrogate_in.material_weight');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_weight"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_unit"><a href="#" id="sort_stock_surrogate_in.material_unit" onclick="return f_setSort('stock_surrogate_in.material_unit');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_unit"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.in_price"><a href="#" id="sort_stock_surrogate_in.in_price" onclick="return f_setSort('stock_surrogate_in.in_price');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.in_price"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.in_qty"><a href="#" id="sort_stock_surrogate_in.in_qty" onclick="return f_setSort('stock_surrogate_in.in_qty');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.in_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.loca_code"><a href="#" id="sort_stock_surrogate_in.loca_code" onclick="return f_setSort('stock_surrogate_in.loca_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.loca_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.wh_code"><a href="#" id="sort_stock_surrogate_in.wh_code" onclick="return f_setSort('stock_surrogate_in.wh_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.wh_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.xy_contract_code"><a href="#" id="sort_stock_surrogate_in.xy_contract_code" onclick="return f_setSort('stock_surrogate_in.xy_contract_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.xy_contract_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.item_code"><a href="#" id="sort_stock_surrogate_in.item_code" onclick="return f_setSort('stock_surrogate_in.item_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.item_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_attribute"><a href="#" id="sort_stock_surrogate_in.material_attribute" onclick="return f_setSort('stock_surrogate_in.material_attribute');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_attribute"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.material_diff"><a href="#" id="sort_stock_surrogate_in.material_diff" onclick="return f_setSort('stock_surrogate_in.material_diff');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_diff"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.surrogate_cause"><a href="#" id="sort_stock_surrogate_in.surrogate_cause" onclick="return f_setSort('stock_surrogate_in.surrogate_cause');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.surrogate_cause"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.buyer_name"><a href="#" id="sort_stock_surrogate_in.buyer_name" onclick="return f_setSort('stock_surrogate_in.buyer_name');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.buyer_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.wh_man_name"><a href="#" id="sort_stock_surrogate_in.wh_man_name" onclick="return f_setSort('stock_surrogate_in.wh_man_name');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.wh_man_name"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_surrogate_in.contract_code"><a href="#" id="sort_stock_surrogate_in.contract_code" onclick="return f_setSort('stock_surrogate_in.contract_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.contract_code"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.provider_name"><a href="#" id="sort_stock_surrogate_in.provider_name" onclick="return f_setSort('stock_surrogate_in.provider_name');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.provider_name"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_surrogate_in.provider_code"><a href="#" id="sort_stock_surrogate_in.provider_code" onclick="return f_setSort('stock_surrogate_in.provider_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.provider_code"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_surrogate_in.dept_code"><a href="#" id="sort_stock_surrogate_in.dept_code" onclick="return f_setSort('stock_surrogate_in.dept_code');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.dept_code"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.dept_name"><a href="#" id="sort_stock_surrogate_in.dept_name" onclick="return f_setSort('stock_surrogate_in.dept_name');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.dept_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_surrogate_in.surrogate_date"><a href="#" id="sort_stock_surrogate_in.surrogate_date" onclick="return f_setSort('stock_surrogate_in.surrogate_date');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.surrogate_date"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.remark"><a href="#" id="sort_stock_surrogate_in.remark" onclick="return f_setSort('stock_surrogate_in.remark');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.remark"/></a></td><td <%=isNowrap%> class="gridHead" width=250 id="stock_surrogate_in.wh_name"><a href="#" id="sort_stock_surrogate_in.wh_name" onclick="return f_setSort('stock_surrogate_in.wh_name');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.wh_name"/></a></td><td <%=isNowrap%> class="gridHead" width=300 id="stock_surrogate_in.material_brand"><a href="#" id="sort_stock_surrogate_in.material_brand" onclick="return f_setSort('stock_surrogate_in.material_brand');" class="sortHref"><eam:message key="column.STOCK_SURROGATE_IN.stock_surrogate_in.material_brand"/></a></td>
</tr>
</thead>
<tbody>
<%String strDdlb = "";String sbddesc="";%>
<eam:iterateResult>
<tr style="display:<%=PageUtilMethod.getValueByMap("visible", rowMap)%>" id="<%=PageUtilMethod.getValueByMap("stock_surrogate_in.surrogate_id", rowMap)%>" class="gridData" <%=PageUtilMethod.getValueByMap("rowEvent", rowMap)%>>
	<td align="center" class="gridHead">
	<%=PageUtilMethod.getValueByMap("indexNO", rowMap)%>
	<input type="hidden" value="" name="keyID">
	</td>
<td <%=isNowrap%> align="left" id="stock_surrogate_in.auditing"><%strDdlb = "ddlb.audit." + PageUtilMethod.getValueByMap("stock_surrogate_in.auditing", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.surrogate_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.surrogate_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_name"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_style"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_style", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_standard"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_standard", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_material"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_material", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_surrogate_in.material_weight"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_weight", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_unit"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_unit", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_surrogate_in.in_price"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.in_price", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_surrogate_in.in_qty"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.in_qty", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.loca_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.loca_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.wh_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.wh_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.xy_contract_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.xy_contract_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.item_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.item_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_attribute"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_attribute", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_diff"><%strDdlb = "ddlb.material_diff." + PageUtilMethod.getValueByMap("stock_surrogate_in.material_diff", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.surrogate_cause"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.surrogate_cause", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.buyer_name"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.buyer_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.wh_man_name"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.wh_man_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.contract_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.contract_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.provider_name"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.provider_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.provider_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.provider_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.dept_code"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.dept_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.dept_name"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.dept_name", rowMap)%></td><td <%=isNowrap%> align="center" id="stock_surrogate_in.surrogate_date"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.surrogate_date", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.remark"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.remark", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.wh_name"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.wh_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_surrogate_in.material_brand"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_brand", rowMap)%></td>
<td style="display:none" id="stock_surrogate_in.contract_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.contract_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.loca_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.loca_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.material_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.surrogate_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.surrogate_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.buyer_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.buyer_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.wh_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.wh_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.wh_man_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.wh_man_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.plan_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.plan_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.modify_person_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.modify_person_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.cost_unit_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.cost_unit_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.item_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.item_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.material_type_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.material_type_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.add_person_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.add_person_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.dept_key_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.dept_key_id", rowMap)%></td><td style="display:none" id="stock_surrogate_in.provider_id"><%=PageUtilMethod.getValueByMap("stock_surrogate_in.provider_id", rowMap)%></td>
</tr>
</eam:iterateResult>
</tbody>
<tfoot>
<eam:TotalResult />
<tr id="total" class="gridFoot" style="display:<%=visible%>">
	<td align="center"><eam:message key="grid.text.sum"/><input type="hidden" value="" name="keyID"></td>
<td align="left" id="total_auditing"><%=PageUtilMethod.getValueByMap("total_auditing" ,totalMap)%></td><td align="left" id="total_surrogate_code"><%=PageUtilMethod.getValueByMap("total_surrogate_code" ,totalMap)%></td><td align="left" id="total_material_code"><%=PageUtilMethod.getValueByMap("total_material_code" ,totalMap)%></td><td align="left" id="total_material_name"><%=PageUtilMethod.getValueByMap("total_material_name" ,totalMap)%></td><td align="left" id="total_material_style"><%=PageUtilMethod.getValueByMap("total_material_style" ,totalMap)%></td><td align="left" id="total_material_standard"><%=PageUtilMethod.getValueByMap("total_material_standard" ,totalMap)%></td><td align="left" id="total_material_material"><%=PageUtilMethod.getValueByMap("total_material_material" ,totalMap)%></td><td align="right" id="total_material_weight"><%=PageUtilMethod.getValueByMap("total_material_weight" ,totalMap)%></td><td align="left" id="total_material_unit"><%=PageUtilMethod.getValueByMap("total_material_unit" ,totalMap)%></td><td align="right" id="total_in_price"><%=PageUtilMethod.getValueByMap("total_in_price" ,totalMap)%></td><td align="right" id="total_in_qty"><%=PageUtilMethod.getValueByMap("total_in_qty" ,totalMap)%></td><td align="left" id="total_loca_code"><%=PageUtilMethod.getValueByMap("total_loca_code" ,totalMap)%></td><td align="left" id="total_wh_code"><%=PageUtilMethod.getValueByMap("total_wh_code" ,totalMap)%></td><td align="left" id="total_xy_contract_code"><%=PageUtilMethod.getValueByMap("total_xy_contract_code" ,totalMap)%></td><td align="left" id="total_item_code"><%=PageUtilMethod.getValueByMap("total_item_code" ,totalMap)%></td><td align="left" id="total_material_attribute"><%=PageUtilMethod.getValueByMap("total_material_attribute" ,totalMap)%></td><td align="left" id="total_material_diff"><%=PageUtilMethod.getValueByMap("total_material_diff" ,totalMap)%></td><td align="left" id="total_surrogate_cause"><%=PageUtilMethod.getValueByMap("total_surrogate_cause" ,totalMap)%></td><td align="left" id="total_buyer_name"><%=PageUtilMethod.getValueByMap("total_buyer_name" ,totalMap)%></td><td align="left" id="total_wh_man_name"><%=PageUtilMethod.getValueByMap("total_wh_man_name" ,totalMap)%></td><td align="left" id="total_contract_code"><%=PageUtilMethod.getValueByMap("total_contract_code" ,totalMap)%></td><td align="left" id="total_provider_name"><%=PageUtilMethod.getValueByMap("total_provider_name" ,totalMap)%></td><td align="left" id="total_provider_code"><%=PageUtilMethod.getValueByMap("total_provider_code" ,totalMap)%></td><td align="left" id="total_dept_code"><%=PageUtilMethod.getValueByMap("total_dept_code" ,totalMap)%></td><td align="left" id="total_dept_name"><%=PageUtilMethod.getValueByMap("total_dept_name" ,totalMap)%></td><td align="center" id="total_surrogate_date"><%=PageUtilMethod.getValueByMap("total_surrogate_date" ,totalMap)%></td><td align="left" id="total_remark"><%=PageUtilMethod.getValueByMap("total_remark" ,totalMap)%></td><td align="left" id="total_wh_name"><%=PageUtilMethod.getValueByMap("total_wh_name" ,totalMap)%></td><td align="left" id="total_material_brand"><%=PageUtilMethod.getValueByMap("total_material_brand" ,totalMap)%></td>
</tr>
</tfoot>
</table>
</sbdhtc:datagrid>
<%@ include file="/publics/grid_formhidden.inc"%>
</form>
</div>
<!--data-->
<%@ include file="/publics/grid_databottom.inc"%>
<%@ include file="/publics/grid_bottom.inc"%>
